From 90ad2d20d546e349f50864da483b6866177ac603 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Mon, 3 Jul 2006 09:07:33 +0100 Subject: [PATCH] [NET]: Rename feature-tso to feature-gso-tcpv4 This patch renames the name feature-tso to feature-gso-tcpv4 for future expansion. Signed-off-by: Herbert Xu --- linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c | 5 +++-- linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c b/linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c index f5c75ef08a..fd3d70459e 100644 --- a/linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c +++ b/linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c @@ -102,9 +102,10 @@ static int netback_probe(struct xenbus_device *dev, } #if 0 /* KAF: After the protocol is finalised. */ - err = xenbus_printf(xbt, dev->nodename, "feature-tso", "%d", 1); + err = xenbus_printf(xbt, dev->nodename, "feature-gso-tcpv4", + "%d", 1); if (err) { - message = "writing feature-tso"; + message = "writing feature-gso-tcpv4"; goto abort_transaction; } #endif diff --git a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c index 016f4d1220..1f2096049a 100644 --- a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c +++ b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c @@ -1098,8 +1098,8 @@ static int xennet_set_tso(struct net_device *dev, u32 data) struct netfront_info *np = netdev_priv(dev); int val; - if (xenbus_scanf(XBT_NIL, np->xbdev->otherend, "feature-tso", - "%d", &val) < 0) + if (xenbus_scanf(XBT_NIL, np->xbdev->otherend, + "feature-gso-tcpv4", "%d", &val) < 0) val = 0; #if 0 /* KAF: After the protocol is finalised. */ if (!val) -- 2.30.2